package top.kindaries.device.provider;

import top.kindaries.device.Device;

import java.util.Collection;

/**
 * 设备管理接口
 *
 * @author duxikun
 */
public interface IDeviceProvider {

    public boolean isContain(String code);

    public Device get(String code);

    public Collection<Device> getAll();

}
